export const adminStatsPage = {
  name: 'AdminStatsPage',
  path: '/admin/stats',
  component: () => import('../pages/admin/stats/AdminStatsPage.vue'),
  meta: {
    auth: 'admin'
  },
};

export const adminCommentPage = {
  name: 'AdminCommentPage',
  path: '/admin/comments',
  component: () => import('../pages/admin/comment/AdminCommentPage.vue'),
  meta: {
    auth: 'admin',
  },
};

export const adminUserPage = {
  name: 'AdminUserPage',
  path: '/admin/users',
  component: () => import('../pages/admin/user/AdminUserPage.vue'),
  meta: {
    auth: 'admin',
  },
};

const adminRoutes = [
  adminStatsPage,
  adminCommentPage,
  adminUserPage,
];

export default adminRoutes;

